package com.junxonline.plat.dao.repository;

import com.junxonline.plat.dao.model.Device;
import com.junxonline.plat.dao.model.DeviceCheck;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: DeviceRepository
 * @Description: 设备数据操作类
 * @author JunX
 */
@Repository
public interface DeviceCheckRepository extends JpaRepository<DeviceCheck, Long>, JpaSpecificationExecutor<DeviceCheck> {

    DeviceCheck findByDeviceCheckId(Long deviceCheckId);

    List<DeviceCheck> findByDeviceCheckIdIn(Long[] deviceCheckIds);

}
